Density of the Flexible Dirichlet distribution: Density of the Flexible Dirichlet distribution
Description
Density of the Flexible Dirichlet distribution
Usage
fd.density(x, alpha, prob, tau)
Arguments
x
A vector or a matrix with compositional data.
alpha
A vector of the non-negative alpha parameters.
prob
A vector of the clusters' probabilities. It must sum to one.
tau
The non-negative scalar tau parameter.
Value
The density value(s).
Details
For more information see the references.
References
Ongaro, A. and Migliorati, S. (2013) A generalization of the Dirichlet distribution. Journal of Multivariate Analysis, 114, 412--426.
Migliorati, S., Ongaro, A. and Monti, G. S. (2016) A structured Dirichlet mixture model for compositional data: inferential and applicative issues. Statistics and Computing, 1--21.